package com.cbl.v.ssczs.view.activity;

import android.widget.TextView;

import com.cbl.v.ssczs.R;

import butterknife.BindView;

public class WfDetailsActivity extends BaseActivity {
    @BindView(R.id.tv_wf)
    TextView tvWf;
    private String title;
    private String key;
    @Override
    protected int getLayout() {
        return R.layout.activity_wf_details;
    }

    @Override
    public void initView() {
        title=getIntent().getStringExtra("title");
        key=getIntent().getStringExtra("data");
        setTitle(title+"玩法介绍");
    }

    @Override
    public void initData() {
        if (key.equals("ssq")){
            tvWf.setText(getResources().getString(R.string.ssq));
        }if (key.equals("bjsc")){
            tvWf.setText(getResources().getString(R.string.bjsc));
        }else if (key.equals("fc3d")){
            tvWf.setText(getResources().getString(R.string.fc3d));
        }else if (key.equals("qlc")){
            tvWf.setText(getResources().getString(R.string.qlc));
        }else if (key.equals("dlt")){
            tvWf.setText(getResources().getString(R.string.dlt));
        }else if (key.equals("qxc")){
            tvWf.setText(getResources().getString(R.string.qxc));
        }else if (key.equals("pls")){
            tvWf.setText(getResources().getString(R.string.pls));
        }else if (key.equals("plw")){
            tvWf.setText(getResources().getString(R.string.plw));
        }else if (key.equals("ssc")){
            tvWf.setText(getResources().getString(R.string.ssc));
        }else if (key.equals("ks")){
            tvWf.setText(getResources().getString(R.string.ks));
        }else if (key.equals("llx5")){
            tvWf.setText(getResources().getString(R.string.llx5));
        }
    }

    @Override
    public void initListener() {

    }
}
